package com.shxc.smarttrade.old.bean;

import java.io.Serializable;
import java.util.List;

/**
 * Created by jcdev1 on 2017/5/31.
 */

public class ForeignOrder implements Serializable {

    /**
     * balance : 267.95
     * equity : 277.12
     * marginFree : 257.12
     * traderOrder : [{"symbolCn":"欧元美元","symbolEn":"EURUSD","cmd":0,"volume":0.01,"openPrice":1.11844,"closePrice":1.12722,"market":1.1273,"lever":100,"profit":8.78,"ticket":633506,"contractSize":100000,"profitChange":false,"profitUSDPrex":false,"bid":1.12722,"ask":1.1274,"occupyAsset":10,"marginRate":1,"margin":10,"tp":0,"sl":0,"openTime":"2017-05-26 15:52:20","swaps":-0.16,"commission":0,"stopsLevel":50,"multiply":100000,"profitCurrency":"USD","profitRate":1},{"symbolCn":"欧元美元","symbolEn":"EURUSD","cmd":0,"volume":0.01,"openPrice":1.12665,"closePrice":1.12722,"market":1.1273,"lever":100,"profit":0.57,"ticket":636531,"contractSize":100000,"profitChange":false,"profitUSDPrex":false,"bid":1.12722,"ask":1.1274,"occupyAsset":10,"marginRate":1,"margin":10,"tp":0,"sl":0,"openTime":"2017-06-02 15:58:53","swaps":-0.02,"commission":0,"stopsLevel":50,"multiply":100000,"profitCurrency":"USD","profitRate":1}]
     * totalProfit : 9.17
     * balanceNotIncludeCredit : 267.95
     * margin : 20
     * credit : 0
     * marginLevel : 1385.6
     */

    private double balance;
    private double equity;
    private double marginFree;
    private double totalProfit;
    private double balanceNotIncludeCredit;
    private double margin;
    private double credit;
    private double marginLevel;
    private int accStatus;
    private List<TraderOrder> traderOrder;

    public double getBalance() {
        return balance;
    }

    public void setBalance(double balance) {
        this.balance = balance;
    }

    public int getAccStatus() {
        return accStatus;
    }

    public void setAccStatus(int accStatus) {
        this.accStatus = accStatus;
    }

    public double getEquity() {
        return equity;
    }

    public void setEquity(double equity) {
        this.equity = equity;
    }

    public double getMarginFree() {
        return marginFree;
    }

    public void setMarginFree(double marginFree) {
        this.marginFree = marginFree;
    }

    public double getTotalProfit() {
        return totalProfit;
    }

    public void setTotalProfit(double totalProfit) {
        this.totalProfit = totalProfit;
    }

    public double getBalanceNotIncludeCredit() {
        return balanceNotIncludeCredit;
    }

    public void setBalanceNotIncludeCredit(double balanceNotIncludeCredit) {
        this.balanceNotIncludeCredit = balanceNotIncludeCredit;
    }

    public double getMargin() {
        return margin;
    }

    public void setMargin(double margin) {
        this.margin = margin;
    }

    public double getCredit() {
        return credit;
    }

    public void setCredit(double credit) {
        this.credit = credit;
    }

    public double getMarginLevel() {
        return marginLevel;
    }

    public void setMarginLevel(double marginLevel) {
        this.marginLevel = marginLevel;
    }

    public List<TraderOrder> getTraderOrder() {
        return traderOrder;
    }

    public void setTraderOrder(List<TraderOrder> traderOrder) {
        this.traderOrder = traderOrder;
    }
}
